package com.my.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.my.system.domain.SysLogininfor;
import com.my.system.mapper.SysLogininforMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class SysLogininforServiceImpl extends ServiceImpl<SysLogininforMapper, SysLogininfor> {

    @Resource
    private SysLogininforMapper logininforMapper;

    /**
     * 新增系统登录日志
     *
     * @param logininfor 访问日志对象
     */
    public void insertLogininfor(SysLogininfor logininfor) {
        logininforMapper.insert(logininfor);
    }

}
